<script>
export default {
	mounted() {
		// TODO 我是不是可以每次进入小程序就在这里重新刷新token
		this.$store.dispatch('fetchUserInfo').then(res => {
			console.log('获取用户信息', res);
		});
	},
	onLaunch: function() {
		console.log('App Launch');
	},
	onHide: function() {
		console.log('App Hide');
	}
};
</script>

<style>
/*每个页面公共css */
@import 'colorui/main.css';
@import 'colorui/icon.css';
@import './static/css/yzb-icon.css';

.confirm.bottom {
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 100;
	width: 100%;
	height: 130rpx;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	box-shadow: 0 -16rpx 20rpx -10rpx rgba(0, 0, 0, 0.1);
}

.confirm .button {
	width: 90%;
	height: 90rpx;
	line-height: 90rpx;
	text-align: center;
	font-size: 36rpx;
	border-radius: 10rpx;
	color: #fff;
	background-color: #12ae85;
}
</style>
